From 918f9ad18d02e3bdf2878827b38ef9dcfbd9b3af Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 29 Jun 1993 22:58:40 +0000 Subject: [PATCH] * etags.c: #include "config.h" and the alloca CPP tangle before #including the system headers and getopt.h. AIX requires the #pragma to come before any actual C code. --- lib-src/etags.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index 22b25678823..c582d61b444 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -26,16 +26,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ * Sam Kendall added C++. */ -#include -#include -#include -#include - #include "../src/config.h" #undef static -#include "getopt.h" - /* AIX requires this to be the first thing in the file. */ #ifdef __GNUC__ #ifndef alloca @@ -53,6 +46,13 @@ char *alloca (); #endif /* not HAVE_ALLOCA_H */ #endif /* not __GNUC__ */ +#include +#include +#include +#include + +#include "getopt.h" + extern char *malloc (), *realloc (); extern char *getenv (); extern char *strcpy (), *strncpy (); -- 2.30.2